package com.wox.config;

import java.util.HashMap;

public class Action {
   
 private String name;
 private String classPath;
 private String scope;
 private String attribute;
 
 private HashMap<String,Forward> forwards=new HashMap<String, Forward>();

 
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}


	
	public String getClassPath() {
		return classPath;
	}

	public void setClassPath(String classPath) {
		this.classPath = classPath;
	}
	

	public void addForward(Forward Forward) {
		forwards.put(Forward.getName(),Forward);
	}

	public Forward getForward(String ForwardName) {
	  return	forwards.get(ForwardName);
	}

	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}
}
